#include <iostream>
#include <conio.h>
using namespace std;
class CRectangle 
{
	int w, h;
public:
	CRectangle (int, int);
	int area ();
};
CRectangle :: CRectangle (int a, int b)
{
	w=a;
	h=b;
}
int CRectangle :: area ()
{
	return (w*h);

}
int main ()
{
	CRectangle recta (3,4);
	CRectangle rectb (5,6);
	cout <<"rect a:"<< recta.area ();
	cout <<"rect b:"<< rectb.area ();
	getch ();
	return 0;
} 